﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace kwzx.Common
{
    public static class FileUtils
    {

        public static string GetDatetimePath(FileType fileType)
        {
            string ftpPath = fileType.ToString()+"//" + DateTime.Now.Year.ToString() + "//" + DateTime.Now.Month.ToString() + "//" + DateTime.Now.Day.ToString();
            return ftpPath;
        }


        public static string GetDatetimePath(string year,string month,string day,FileType fileType)
        {
            string ftpPath = fileType.ToString() + "//" + year + "//" + month + "//" + day;
            return ftpPath;
        }


    }

    public enum FileType
    {
        visitor,
        person,
        car,
    };

}
